#!/bin/bash
# Zaitan Module - Deluge Torrent Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='2.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Interface'
RMOD_NAME='Deluge Torrent'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='0.5.5'
RMOD_DESCRIPTION='Installs Deluge Torrent'
RMOD_UPDATE_URL='http://code.google.com/p/zaitan/'


# Install Deluge Torrent

echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall

cd /usr/share/zaitan
wget -c http://mirrors.dotsrc.org/getdeb/de/deluge-torrent_0.5.5-1~getdeb1_i386.deb
dpkg -i deluge-torrent_0.5.5-1~getdeb1_i386.deb
apt-get -f install

echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

